c program for compound interest